import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Element from 'element-ui'
import axios from 'axios'
import "element-ui/lib/theme-chalk/index.css"
import './api/axios'
import './assets/css/icon.css'
import {Loading} from 'element-ui'
import * as echarts from 'echarts'
import VueQuillEditor from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

Vue.use(VueQuillEditor)

import {basePostRequest,baseGetRequest,getTableData,deleteByIds,deleteById,saveData,getListPageUrl,saveOrUpdateUrl,removeByIdUrl,removeByIdsUrl} from './api/index'
Vue.use(Element)
Vue.use(Loading)
Vue.prototype.$axios = axios
Vue.prototype.$basePostRequest = basePostRequest
Vue.prototype.$baseGetRequest = baseGetRequest
Vue.prototype.$getListPageUrl = getListPageUrl
Vue.prototype.$saveOrUpdateUrl = saveOrUpdateUrl
Vue.prototype.$removeByIdUrl = removeByIdUrl
Vue.prototype.$removeByIdsUrl = removeByIdsUrl
Vue.prototype.$getTableData = getTableData
Vue.prototype.$deleteByIds = deleteByIds
Vue.prototype.$deleteById = deleteById
Vue.prototype.$saveData = saveData
Vue.prototype.$echarts = echarts


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
